home *** CD-ROM | disk | FTP | other *** search
/ Star Festival... a Return to Japan / Star Festival... a Return to Japan.iso / pc / STARFESTIVAL / 16q.dir / 00001.ls next >
Encoding:
Text File  |  1999-04-02  |  932 b   |  39 lines

  1. on startMovie
  2.   global qtChan, gCursorReady, gMagCursor, gMoviePlay
  3.   gCursorReady = 1
  4.   gMagCursor = "magCursor"
  5.   puppetSprite(46, 1)
  6.   gMoviePlay = 1
  7.   qtChan = 11
  8.   sprite(qtChan).volume = 256
  9.   cast("shami").directToStage = 1
  10.   preLoad(qtChan - 1)
  11. end
  12.  
  13. on idle
  14.   global gCursorReady
  15.   if gCursorReady = 1 then
  16.     cursor(200)
  17.     checkCursors()
  18.     set the locH of sprite 46 to the mouseH
  19.     set the locV of sprite 46 to the mouseV
  20.     updateStage()
  21.   end if
  22. end
  23.  
  24. on checkCursors
  25.   global gMagCursor, gMoviePlay
  26.   set the castNum of sprite 46 to the number of member "curs1"
  27.   if rollOver(4) then
  28.     set the castNum of sprite 46 to the number of member "hotCursor"
  29.   end if
  30.   if rollOver(13) then
  31.     set the castNum of sprite 46 to the number of member "nonCursor"
  32.   end if
  33.   repeat with i = 20 to 22
  34.     if rollOver(i) then
  35.       set the castNum of sprite 46 to the number of member "hotCursor"
  36.     end if
  37.   end repeat
  38. end
  39.